<?php


namespace App\Admin\Controllers;


use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Response;
use Illuminate\Support\Facades\Validator;
use SmallRuralDog\Admin\Layout\Content;
use SmallRuralDog\Admin\Components\Widgets\Html;
use SmallRuralDog\Admin\Controllers\AdminController;

class WeChatController extends AdminController
{

    /**
     * Show the login page.
     *
     * @return \Illuminate\Contracts\View\Factory|Redirect|\Illuminate\View\View
     */
    public function index(Content $content)
    {
        // return $content->body($this->form());
        // $a = view('admin.welcome', ['data'=>['a'=>'b']]);
        // dd(View('wechat.menu'));
        // return $content
        //     ->title('sdf')
        //     ->body(Html::make()->html(view('admin::welcome')));

        view('admin::login', []);
    }

    public function form()
    {
        return view('admin');
    }



}
